package com.bibrApp.difu.adapter;

import com.bibrApp.difu.R;
import com.bibrApp.difu.Response.NoticeResBody;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import androidx.annotation.NonNull;

public class NoticeCenterAdapter extends BaseQuickAdapter<NoticeResBody.ListBean, BaseViewHolder> {

    public NoticeCenterAdapter() {
        super(R.layout.item_notice_center);
    }

    @Override
    protected void convert(@NonNull BaseViewHolder helper, NoticeResBody.ListBean item) {
        helper.setText(R.id.tv_item_notice_center, item.getTitle());
    }
}
